﻿<Window x:Class="SunwellLauncher.AddWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Dodaj serwer" Height="194" Width="422" WindowStyle="None" ResizeMode="NoResize" WindowStartupLocation="CenterOwner" Loaded="Window_Loaded" MouseLeftButtonDown="Window_MouseLeftButtonDown" AllowsTransparency="True" Background="{x:Null}" ShowInTaskbar="False">
    <Border BorderBrush="#D3000000" BorderThickness="4">
        <Grid>
            <Grid.Background>
                <ImageBrush ImageSource="/SunwellLauncher;component/Images/right-bg.jpg" Stretch="UniformToFill" TileMode="None" />
            </Grid.Background>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="128*" />
                <ColumnDefinition Width="128*" />
                <ColumnDefinition Width="124*" />
                <ColumnDefinition Width="20*" />
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="15*" />
                <RowDefinition Height="40*" />
                <RowDefinition Height="29*" />
                <RowDefinition Height="25*" />
                <RowDefinition Height="46*" />
            </Grid.RowDefinitions>
            <Button x:Name="btnClose" Grid.Column="3" Click="btnClose_Click">
                <Button.Background>
                    <ImageBrush ImageSource="/SunwellLauncher;component/Images/x.png" />
                </Button.Background>
            </Button>
            <Label Content="*Nazwa serwera:" Padding="0" Grid.Row="1" HorizontalAlignment="Right" Foreground="#FFB78521" FontWeight="SemiBold" Margin="0,5,0,0" VerticalAlignment="Bottom" />
            <Label Content="*Adres serwera:" Padding="0" Grid.Row="2" HorizontalAlignment="Right" Foreground="#FFB78521" FontWeight="SemiBold" VerticalAlignment="Center" />
            <Label Content="Strona serwera:" Padding="0" Grid.Row="3" HorizontalAlignment="Right" Foreground="#FFB78521" FontWeight="SemiBold" />
            <TextBox x:Name="txtbName" Grid.Column="1" Grid.Row="1" Grid.ColumnSpan="2" Margin="5" VerticalAlignment="Bottom" />
            <TextBox x:Name="txtbAddress" Grid.Column="1" Grid.Row="2" Grid.ColumnSpan="2" VerticalAlignment="Center" Margin="5,0,5,5" />
            <TextBox x:Name="txtbSite" Grid.Column="1" Grid.Row="3" Grid.ColumnSpan="2" VerticalAlignment="Top" Margin="5,0" />
            <Button x:Name="btnAdd" Content="Dodaj" Grid.Row="4" Grid.Column="1" Margin="10" Foreground="#D6B545" Click="btnAdd_Click">
                <Button.Background>
                    <ImageBrush ImageSource="/SunwellLauncher;component/Images/button_normal.png" />
                </Button.Background>
            </Button>
            <Button x:Name="btnCancel" Content="Anuluj" Grid.Row="4" Grid.Column="2" Margin="10" Foreground="#D6B545" Click="btnCancel_Click">
                <Button.Background>
                    <ImageBrush ImageSource="/SunwellLauncher;component/Images/button_normal.png" />
                </Button.Background>
            </Button>
        </Grid>
    </Border>
</Window>
